﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GreenPepperTest {

    public class Marble {

        private Color color;
        private double radius;  //in mm
        private MarbleValue value;

        internal MarbleValue Value {
            get {
                return this.value;
            }
        }

        internal Marble() {
            Color = Color.Red;
            Radius = 10;
            value = new MarbleValue(100);
        }

        
        internal Marble(Color color, double radius) {
            Color = color;
            Radius = radius;
            value = new MarbleValue(100);
        }


        /// <summary>
        /// Radius in mm.
        /// </summary>
        public double Radius {
            get {
                return radius;
            }
            set {
                radius = value;
            }
        }

        internal Color Color {
            get {
                return color;
            }
            set {
                color = value;
            }
        }

    }


}
